<?php defined('InShopNC') or exit('Access Invalid!');?>
<div class="page">
  <div class="fixed-bar">
    <div class="item-title">
      <h3>商品热度分析</h3>
       <ul class="tab-base">
        <li><a href="index.php?act=fever&op=fever_list&start=<?php echo $output['start'];?>&end=<?php echo $output['end'];?>&key=<?php echo $output['key'];?>"><span>商品热度</span></a></li>
        <li><a href="javascript:;" class="current"><span>热度详情</span></a></li>
        
      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>

  <table class="table tb-type2" id="prompt">
    <tbody>
      <tr class="space odd">
        <th class="nobg" colspan="12"><div class="title"><h5><?php echo $lang['nc_prompts'];?></h5><span class="arrow"></span></div></th>
      </tr>
      
    </tbody>
  </table>
  <form method='post' id="list_form">
    <input type="hidden" name="form_submit" value="ok" />
    <input type="hidden" name="submit_type" id="submit_type" value="" />
    <input type="hidden" name="class_id" id="class_id">
    
    
    <table class="table tb-type2">

      <thead>

        <tr class="thead">
          <th class="w12">&nbsp;</th>
          <th class="w200 align-center">商品ID</th>
          <th class="w200 align-center">商品名称</th>
          <th class="w200 align-center">商品单价</th>
          <th class="w200 align-center">优惠促销活动ID</th>
          <th class="w200 align-center">优惠促销活动名称</th>
          <th class="w200 align-center">优惠促销活动类型</th>
          <th class="w200 align-center">操作类型</th>
          <th class="w200 align-center">操作时间</th>

          <th class="w200 align-center">操作人手机号码</th>
          <th class="w200 align-center">来源IP</th>
          <th class="w200 align-center">客户端</th>
          <!-- <th class="w200 align-center"><span><?php echo $lang['nc_handle'];?></span></th> -->
        </tr>
      </thead>
      <tbody>
        <?php if (!empty($output['fever_dtlist']) && is_array($output['fever_dtlist'])) { ?>
        <?php foreach ($output['fever_dtlist'] as $val) { ?>
           <tr class="hover edit">
              <td>&nbsp;</td>
              <td class="nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['fever_goodsid'];?></span>
              </td>
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['fever_goodsname'];?></span>
                
              </td>
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['fever_goodsprice'];?></span>
                
              </td>
              
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['fever_actid'];?></span>
                
              </td>
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['fever_actname'];?></span>
                
              </td>
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['fever_acttype'];?></span>
                
              </td>
               <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" >
					<?php 
                    if($val['fever_actiontype']==1 ){ echo "浏览";}
                    elseif($val['fever_actiontype']==2){ echo "加入购物车";}
                    elseif($val['fever_actiontype']==3){ echo "删除购物车";}
                    elseif($val['fever_actiontype']==4){ echo "提交订单";}
                    elseif($val['fever_actiontype']==5){ echo "支付成功";}
               ?>
				</span>
                
              </td>
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo date('Y-m-d H:i:s',$val['fever_actiontime']);?></span>
                
              </td>
             
              
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['fever_actionmobile'];?></span>
                
              </td>
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['fever_actionip'];?></span>
                
              </td>
              <td class="name nowrap align-center">
                <span nc_type="inline_edit" ajax_branch="class" ><?php echo $val['client'];?></span>
                
              </td>
              
            </tr>
        <?php } ?>
        <?php }  ?>
        
      </tbody>
     
    </table>
  </form>
</div>

